# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'mainWindow.ui'
#
# Created: Fri May 27 14:55:51 2011
#      by: PyQt4 UI code generator 4.8.3
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName(_fromUtf8("MainWindow"))
        MainWindow.resize(800, 600)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName(_fromUtf8("centralwidget"))
        self.horizontalLayout_2 = QtGui.QHBoxLayout(self.centralwidget)
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.graphicsView = BoardView(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.graphicsView.sizePolicy().hasHeightForWidth())
        self.graphicsView.setSizePolicy(sizePolicy)
        self.graphicsView.setVerticalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.graphicsView.setHorizontalScrollBarPolicy(QtCore.Qt.ScrollBarAlwaysOff)
        self.graphicsView.setObjectName(_fromUtf8("graphicsView"))
        self.horizontalLayout_2.addWidget(self.graphicsView)
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.fieldsView = QtGui.QListWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(200)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.fieldsView.sizePolicy().hasHeightForWidth())
        self.fieldsView.setSizePolicy(sizePolicy)
        self.fieldsView.setObjectName(_fromUtf8("fieldsView"))
        self.verticalLayout.addWidget(self.fieldsView)
        self.editField = QtGui.QPushButton(self.centralwidget)
        self.editField.setObjectName(_fromUtf8("editField"))
        self.verticalLayout.addWidget(self.editField)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.rulesView = QtGui.QListWidget(self.centralwidget)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.rulesView.sizePolicy().hasHeightForWidth())
        self.rulesView.setSizePolicy(sizePolicy)
        self.rulesView.setObjectName(_fromUtf8("rulesView"))
        self.verticalLayout.addWidget(self.rulesView)
        self.horizontalLayout_2.addLayout(self.verticalLayout)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 800, 21))
        self.menubar.setObjectName(_fromUtf8("menubar"))
        self.menuPlik = QtGui.QMenu(self.menubar)
        self.menuPlik.setObjectName(_fromUtf8("menuPlik"))
        self.menuBoard = QtGui.QMenu(self.menubar)
        self.menuBoard.setObjectName(_fromUtf8("menuBoard"))
        self.menuInsert = QtGui.QMenu(self.menubar)
        self.menuInsert.setObjectName(_fromUtf8("menuInsert"))
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName(_fromUtf8("statusbar"))
        MainWindow.setStatusBar(self.statusbar)
        self.actionResize = QtGui.QAction(MainWindow)
        self.actionResize.setObjectName(_fromUtf8("actionResize"))
        self.actionLoad_background = QtGui.QAction(MainWindow)
        self.actionLoad_background.setObjectName(_fromUtf8("actionLoad_background"))
        self.actionNew_field = QtGui.QAction(MainWindow)
        self.actionNew_field.setObjectName(_fromUtf8("actionNew_field"))
        self.actionNew_resource = QtGui.QAction(MainWindow)
        self.actionNew_resource.setObjectName(_fromUtf8("actionNew_resource"))
        self.actionNew_rule = QtGui.QAction(MainWindow)
        self.actionNew_rule.setObjectName(_fromUtf8("actionNew_rule"))
        self.menuBoard.addAction(self.actionResize)
        self.menuBoard.addAction(self.actionLoad_background)
        self.menuInsert.addAction(self.actionNew_field)
        self.menuInsert.addAction(self.actionNew_rule)
        self.menubar.addAction(self.menuPlik.menuAction())
        self.menubar.addAction(self.menuBoard.menuAction())
        self.menubar.addAction(self.menuInsert.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "MainWindow", None, QtGui.QApplication.UnicodeUTF8))
        self.editField.setText(QtGui.QApplication.translate("MainWindow", "Edit field", None, QtGui.QApplication.UnicodeUTF8))
        self.menuPlik.setTitle(QtGui.QApplication.translate("MainWindow", "Plik", None, QtGui.QApplication.UnicodeUTF8))
        self.menuBoard.setTitle(QtGui.QApplication.translate("MainWindow", "Board", None, QtGui.QApplication.UnicodeUTF8))
        self.menuInsert.setTitle(QtGui.QApplication.translate("MainWindow", "Insert", None, QtGui.QApplication.UnicodeUTF8))
        self.actionResize.setText(QtGui.QApplication.translate("MainWindow", "Resize", None, QtGui.QApplication.UnicodeUTF8))
        self.actionLoad_background.setText(QtGui.QApplication.translate("MainWindow", "Load background", None, QtGui.QApplication.UnicodeUTF8))
        self.actionNew_field.setText(QtGui.QApplication.translate("MainWindow", "New field", None, QtGui.QApplication.UnicodeUTF8))
        self.actionNew_resource.setText(QtGui.QApplication.translate("MainWindow", "New resource", None, QtGui.QApplication.UnicodeUTF8))
        self.actionNew_rule.setText(QtGui.QApplication.translate("MainWindow", "New rule", None, QtGui.QApplication.UnicodeUTF8))

from boardView import BoardView
